using System;
using System.Xml.Serialization;

using NetFramework.Collection;

namespace NetFramework.Web.Configuration
{
	/// <summary>
	/// 
	/// </summary>
	public class SharedScriptGroup : IKeyedObject
	{
		private string name;
		private string[] scriptNames;

		/// <summary>
		/// 
		/// </summary>
		public string Key
		{
			get { return name; }
		}

		/// <summary>
		/// 
		/// </summary>
		[XmlAttribute("name")]
		public string Name
		{
			get { return name; }
			set { name = value; }
		}

		/// <summary>
		/// 
		/// </summary>
		[XmlElement("scriptName")]
		public string[] ScriptNames
		{
			get { return scriptNames; }
			set { scriptNames = value; }
		}
	}
}